<%@ page language="java" contentType="text/html; charset=UTF-8" isELIgnored="false" pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>注册</title>
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/common/layui/css/layui.css"
          media="all">
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/common/bootstrap/css/bootstrap.css"
          media="all">
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/common/global.css">
    <script type="text/javascript"
            src="${pageContext.request.contextPath}/common/bootstrap/js/jquery-1.12.4.js"></script>
    <script type="text/javascript"
            src="${pageContext.request.contextPath}/common/bootstrap/js/bootstrap.min.js"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/jsplug/echarts.min.js"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/common/layui/layui.js"></script>
    <!-- 表单验证 -->
    <script type="text/javascript" src="${pageContext.request.contextPath}/pageJs/LoginRegister/registered.js"></script>
    <script type="text/javascript"
            src="${pageContext.request.contextPath}/pageJs/LoginRegister/HospitalDepartmentPosition.js"></script>
    <style type="text/css">
        body {
            background-image: url("../../images/yy1.jpg");
            background-repeat: no-repeat;
            background-size: 1600px;
        }

        .container {
            height: 700px;
            padding-top: 50px;
        }

        span {
            font-size: 16px;
        }

        .ming_span {
            font-size: 16px;
            font-weight: bold;
        }
    </style>
</head>
<body>
<div class="container">
    <form id="from_meaning_user" class="form-horizontal" role="form">
        <div class="col-sm-6">
            <div class="form-group">
                <div class="col-sm-10 input-group">
                    <h3><b>注册</b></h3>
                </div>
                <label class="col-sm-2 control-label"></label>
            </div>
            <div class="col-sm-10">
                <div class="form-group">
                    <label class="col-sm-1 control-label"></label>
                    <div class="col-sm-11 input-group">
                        <span class="ming_span">手机号：</span>
                        <span id="user_phone_span"></span>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-1 control-label"></label>
                    <div class="col-sm-11 input-group">
                        <span class="input-group-addon icon-user"><i class="glyphicon glyphicon-earphone"></i></span>
                        <input name="userPhone" id="user_phone" class="form-control" placeholder="手机号">
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-1 control-label"></label>
                    <div class="col-sm-11 input-group">
                        <span class="ming_span">邮箱：</span>
                        <span id="user_email_span"></span>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-1 control-label"></label>
                    <div class="col-sm-11 input-group">
                        <span class="input-group-addon icon-user"><i class="glyphicon glyphicon-envelope"></i></span>
                        <input name="userEmail" id="user_email" class="form-control" placeholder="邮箱地址">
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-1 control-label"></label>
                    <div class="col-sm-11 input-group">
                        <span class="ming_span">密码：</span>
                        <span id="user_password_span">只能输入6-20个字母、数字、下划线</span>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-1 control-label"></label>
                    <div class="col-sm-11 input-group">
                        <span class="input-group-addon"><i class="glyphicon glyphicon-lock"></i></span>
                        <input name="password" id="user_password" type="password" class="form-control" placeholder="密码">
                    </div>
                </div>
                <div class="" id="password_progress" style="margin-left: 30px;">
                    <div class="progress-bar progress-bar-danger" role="progressbar"
                         aria-valuenow="60" aria-valuemin="0" aria-valuemax="100"
                         id="password_prog1">
                    </div>
                    <div class="progress-bar progress-bar-info" role="progressbar"
                         aria-valuenow="60" aria-valuemin="0" aria-valuemax="100"
                         id="password_prog2">
                    </div>
                    <div class="progress-bar progress-bar-success" role="progressbar"
                         aria-valuenow="60" aria-valuemin="0" aria-valuemax="100"
                         id="password_prog3">
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-1 control-label"></label>
                    <div class="col-sm-11 input-group">
                        <span class="ming_span">密码：</span>
                        <span id="user_password_span2">密码需要一致</span>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-1 control-label"></label>
                    <div class="col-sm-11 input-group">
                        <span class="input-group-addon"><i class="glyphicon glyphicon-lock"></i></span>
                        <input id="user_password2" type="password" class="form-control" placeholder="确认密码">
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-1 control-label"></label>
                    <div class="col-sm-10">
                        <button type="button" id="btn_from" class="btn btn-primary btn-block">保存</button>
                    </div>
                    <label class="col-sm-1 control-label"></label>
                </div>
            </div>
        </div>
        <div class="col-sm-6">
            <div class="form-group">
                <div class="col-sm-10 input-group">
                    <h3 id="zhuce_btn"><b></b></h3>
                </div>
                <label class="col-sm-2 control-label"></label>
            </div>
            <div class="col-sm-10">
                <div class="form-group">
                    <label class="col-sm-1 control-label"></label>
                    <div class="col-sm-11 input-group">
                        <span class="ming_span">用户名：</span>
                        <span id="user_name_span"></span>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-1 control-label"></label>
                    <div class="col-sm-11 input-group">
                        <span class="input-group-addon icon-user"><i class="glyphicon glyphicon-user"></i></span>
                        <input name="username" id="user_name" class="form-control" placeholder="用户名">
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-1 control-label"></label>
                    <div class="col-sm-11 input-group">
                        <span class="ming_span">性别：</span>
                        <span id="user_sex_span"></span>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-1 control-label"></label>
                    <div class="col-sm-11 input-group">
                        <div class="btn-group" data-toggle="buttons">
                            <label class="btn btn-primary">
                                <input name="userSex" value="1" type="radio"> 男
                            </label>
                            <label class="btn btn-primary">
                                <input name="userSex" value="2" type="radio"> 女
                            </label>
                        </div>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-1 control-label"></label>
                    <div class="col-sm-11 input-group">
                        <span class="ming_span">职位：</span>
                        <span id="user_role_span"></span>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-1 control-label"></label>
                    <div class="col-sm-11 input-group">
                        <span class="input-group-addon icon-user"><i class="glyphicon glyphicon-user"></i></span>
                        <select name="roleId" id="user_role" class="form-control">
                        </select>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-1 control-label"></label>
                    <div class="col-sm-11 input-group">
                        <span class="ming_span">所属科室：</span>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-1 control-label"></label>
                    <div class="col-sm-11 input-group">
                        <span class="input-group-addon icon-user"><i class="glyphicon glyphicon-plus"></i></span>
                        <select id="user_hospital" class="form-control">
                        </select>
                        <select name="departmentId" id="user_department" class="form-control">
                        </select>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-1 control-label"></label>
                    <div class="col-sm-3 col-sm-offset-7">
                        <a href="login.jsp">
                            <button type="button" class="btn btn-primary btn-block">返回登录</button>
                        </a>
                    </div>
                    <label class="col-sm-1 control-label"></label>
                </div>
            </div>
        </div>
    </form>
</div>
</body>
</html>